﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;
using Volo.Abp.MultiTenancy;

namespace Himp.Platform.Dc
{
    /// <summary>
    /// 使用频次
    /// </summary>
    [Table("USED_FRQU_DICT")]
    public class UsedFrquDict : Entity<Guid>, IMultiTenant
    {
        /// <summary>
        /// 使用频次编码
        /// </summary>
        [Column("USED_FRQU_CODG")]
        public string UsedFrquCodg { get; set; }

        /// <summary>
        /// 使用频次名称
        /// </summary>
        [Column("USED_FRQU_NAME")]
        public string UsedFrquName { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        [Column("DSCR")]
        public string Dscr { get; set; }

        /// <summary>
        /// 周期单位天
        /// </summary>
        [Column("PRD")]
        public int Prd { get; set; }

        /// <summary>
        /// 次数
        /// </summary>
        [Column("CNT")]
        public int Cnt { get; set; }

        /// <summary>
        /// 使用频次类别代码
        /// </summary>
        [Column("USED_FRQU_TYPE_CODE")]
        public string UsedFrquTypeCode { get; set; }

        /// <summary>
        /// 使用频次类别名称
        /// </summary>
        [Column("USED_FRQU_TYPE_NAME")]
        public string UsedFrquTypeName { get; set; }

        /// <summary>
        /// 数据字典代码
        /// </summary>
        [Column("DATA_DICT_CODE")]
        public string DataDictCode { get; set; }

        /// <summary>
        /// 数据字典名称
        /// </summary>
        [Column("DATA_DICT_NAME")]
        public string DataDictName { get; set; }


        public Guid? TenantId { get; set; }
    }
}
